//
//  GalleryResultModel.m
//  ArtDog
//
//  Created by dllo on 16/9/10.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "GalleryResultModel.h"
#import "GalleryHotColumnList.h"

@implementation GalleryResultModel

- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"hotColumnList"]) {
        NSMutableArray<GalleryHotColumnList *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            GalleryHotColumnList *hotColumnModel = [GalleryHotColumnList modelWithDic:dic];
            [array addObject:hotColumnModel];
        }
        _hotColumnList = array;
    }
}


@end
